Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created test for dnf over FTP protocol #50

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

MMarus
Copy link
Contributor

@MMarus MMarus commented Oct 21, 2016

No description provided.

/usr/bin/cp -u dummy.spec /run/fedora-networking/
cd /run/fedora-networking

rpmbuild -ba dummy.spec

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use something like:

rpmbuild --define "_topdir /var/run/fedora-networking" -ba dummy.spec

To keep ${HOME} clean?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved.

License: GPL+
BuildArch: noarch

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't remove the License, since the rpmbuild requires it, however I removed the other lines.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant BuildRoot: tag only. So BuildArch should be there to keep from building for all arches.


/usr/bin/cp -u \
/root/rpmbuild/RPMS/noarch/dummy-rpm-1.0-1.noarch.rpm \
/var/ftp/pub/fedora-networking

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. It'd be good to use /run/ for all testing related stuff (overriden vsftpd config?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved.

Copy link
Contributor

@thozza thozza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MMarus please check comments by @landgraf

Copy link

@landgraf landgraf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BuildArch should be noarch. Sorry for the confusion. See inline

License: GPL+
BuildArch: noarch

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant BuildRoot: tag only. So BuildArch should be there to keep from building for all arches.

Undu deletion of the BuildArch.
@MMarus
Copy link
Contributor Author

MMarus commented Mar 1, 2018

I have added the BuildArch tag back, as you asked. I am sorry I misunderstood the previous request :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants